var context = require('../../../config/app.context');

module.exports = function ($stateProvider) {
    $stateProvider
        
        .state({
            name: 'default',
            url: '',
            controller: 'defaultController'
        })
        .state({
            name: 'default_slash',
            url: '/',
            controller: 'defaultController'
        })
        .state('o2o_c', {
            // name: 'acm',
            url: context.path,
            template: require('../components/navbar/navbar.html')
        })
        .state({
            name: 'error',
            url: context.path + '/error',
            template: require('../views/error.html')
        });
};